include(../../../mkspecs/qmake/lib.pri)
include(../../../mkspecs/qmake/version.pri)

TEMPLATE        = lib
QT             -= core gui

TARGET          = mod2-shared-ab$${DEBUG_POSTFIX}

DEFINES        += MOD2_EXPORTS

SOURCES        += \
                  src/fmod2-shared-ab.cpp \
                  src/mod2-shared-ab.cpp

HEADERS        += \
                  src/mod2-shared-ab.h
win32::RC_FILE  = src/mod2-shared-ab.rc

INCLUDEPATH    += \
                  api \
                  src \
                  $${CYG_NOPUB_INC_PATH}/mod2-static-a \
                  $${CYG_NOPUB_INC_PATH}/mod2-static-b

LIBS           += -L$${CYG_NOPUB_LIB_PATH}
LIBS           += -L$${CYG_NOPUB_LIB_PATH}

LIBS           += -lmod2-static-a$${DEBUG_POSTFIX}
LIBS           += -lmod2-static-b$${DEBUG_POSTFIX}

INSTALLS       += target

CYG_POST_COPY  += $${CYG_NOPUB_INC_PATH}/mod2-static-a/imod2-static-a.h
CYG_POST_COPY  += $${CYG_NOPUB_INC_PATH}/mod2-static-b/imod2-static-b.h
include(../../../mkspecs/qmake/post_copy.pri)
